import 'package:json_annotation/json_annotation.dart';

part 'xindong_name_class.g.dart';

@JsonSerializable()
class XinDongNameClass {
  late int id;
  late String name;

  XinDongNameClass();

  factory XinDongNameClass.fromJson(Map<String, dynamic> json) => _$XinDongNameClassFromJson(json);

  Map<String, dynamic> toJson() => _$XinDongNameClassToJson(this);
}
